package com.haojiu.service;

import com.haojiu.pojo.Notice;

import java.util.List;

/**
 * @author:我叫浩九
 * @date：2021/8/27 20:56
 * create in RuGao JiangSu
 */
public interface NoticeService {
    int addNotice(Notice notice);
    Notice queryNoticeByTheme(String noticeTheme);
    int deleteNoticeByTheme(String noticeTheme);
    int updateNotice(Notice notice);
    List<Notice> queryAllNotice(int page,int size);
    List<Notice> queryAllNotice();
}
